#ifndef STATEMANAGER_H
#define STATEMANAGER_H

#include <vector>
#include "State.h"


class StateManager
{
public:


	StateManager();
	~StateManager();


	void changeState(State* state);
	bool pushState(State* state);
	void popState();
	void pauseState();
    void popAllAndPushState(State* state);

protected:


	std::vector<State*>   m_ActiveStateStack;


};

#endif // STATEMANAGER_H
